<%@ page import="aiball.Contents" %>



<div class="fieldcontain ${hasErrors(bean: contentsInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="contents.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" maxlength="16" required="" value="${contentsInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: contentsInstance, field: 'time', 'error')} required">
	<label for="time">
		<g:message code="contents.time.label" default="Time" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="time" precision="day"  value="${contentsInstance?.time}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: contentsInstance, field: 'code', 'error')} ">
	<label for="code">
		<g:message code="contents.code.label" default="Code" />
		
	</label>
	<g:textField name="code" value="${contentsInstance?.code}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: contentsInstance, field: 'headline', 'error')} ">
	<label for="headline">
		<g:message code="contents.headline.label" default="Headline" />
		
	</label>
	<g:textField name="headline" value="${contentsInstance?.headline}"/>
</div>

